Using Ai For Optimal Decision Making In Manufacturing